import MyTitle from "./components/MyTitle";

var app = document.getElementById('app');
app.innerHTML = MyTitle.template;


/**
 * 打印组件发现自己写的tpl-loade加载器把template属性和内容都添加进组件对象里
 * console.log(MyTitle);
 * {
 *   data: ƒ data(),
 *   methods: {handleTitleClick: ƒ},
 *   template: "<h1 @click=\"handleTitleClick($event)\">{{title}}</h1>\n<h2 @click=..."
 * }
 */